<table width="100%"  class="table table-bordered table-hover" border="1px" cellspacing="0" cellpadding="0">
        <thead>
          
        <tr>
        <td bgcolor="#fff" width="30%"><center>Empresa</center></td>
        <td bgcolor="#fff" width="20%"><center>Esfera</center></td>
        <td bgcolor="#fff" width="40%"><center>Pendência</center></td>
        <td bgcolor="#fff" width="10%"><center>Valor</center></td>
        </tr>
        </thead>
        <?php
        foreach ($pendencias as $pendencia) {
        ?>

            <tr>
                <td><?php echo $pendencia->empresas_razaoSocial ?></td>
                <td>
                    <?php echo $pendencia->tipoPendencia_descricao ?>
                </td>
                
                <td>
                    <?php echo $pendencia->pendencias_descricao ?>
                </td>
                <td align="left">
                   R$ <?php echo number_format($pendencia->pendencias_valor,2,',','.') ?>
                </td>
                
            </tr> 
            <?php
        }
        ?>  

    </table>